{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "200 成功\n",
    "201 创建成功\n",
    "\n",
    "301 永久性转移\n",
    "302 临时性转移\n",
    "304 没有更改\n",
    "\n",
    "401 认证失败\n",
    "403 禁止请求\n",
    "404 未找到资源\n",
    "405 方法不被允许\n",
    "408 请求超时\n",
    "\n",
    "502 网关错误\n",
    "503 服务器错误\n",
    "504 网关超时"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "相应状态码是HTTP协议的一种规定，所以可以遵循，也可以不遵循"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
